package com.enation.app.shop.front.api.creditrecord;

import com.enation.app.shop.front.api.creditrecord.entity.CreditRecord;

import java.util.List;

public interface ICreditRecordManager {
    public  int createCreditRecord(CreditRecord creditRecord);
    public  CreditRecord getById(Integer recordid);
    public List<CreditRecord> getByUserId(Integer userid);
    public List<CreditRecord> getByUserIdAndYearMonth(Integer userid,String year,String month);
    public  CreditRecord getByUserIdAndRecetTime(Integer userid);
}
